<template>
	<view class="rules">
		<view class="rules_box">
			<view style="color: #E3AB6E;" class="rule_head shsc">
				节点赛规则
			</view>
			<view v-html="rule" class="content fs26 bs"></view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			rule: String
		},
		components: {

		},
		data: function() {
			return {
				gameStatus: 0,
				rules: ""
			}
		},
		methods: {


		},
		created() {

		},
		mounted() {},
	}
</script>

<style scoped lang="scss">
	.rules {
		display: flex;
		flex-direction: column;
		align-items: center;


		.rules_box {
			width: 690rpx;
			background: #53181E;
			border-radius: 20rpx;
			position: relative;
			border: 1rpx solid #E3AB6E;

			.rule_head {
				width: 488rpx;
				position: absolute;
				top: -16rpx;
				left: 50%;
				transform: translateX(-50%);
				background-image: url(#{$IMG_URL}/biaoti2.png);
				background-size: cover;
				background-position: center;
				background-repeat: no-repeat;
				height: 86rpx;
				display: flex;
				align-items: center;
				font-size: 32rpx;
				justify-content: center;
			}

			.content {
				text-align: justify;
				line-height: 44rpx;
				color: #EEDCC9;
				padding: 110rpx 51rpx 47rpx 51rpx;
			}
		}
	}
</style>
